markAsRead
Mark a message as read
GraphQL Schema
extend type mutation {
"""Mark a message as read"""
markAsRead(input: MarkAsReadInput!): MarkAsReadPayload!
}
Arguments
Name | Type | Description |
---|---|---|
input | [MarkAsReadInput!](/04-reference/05-Input Objects/MarkAsReadInput.mdx) |
Response Shape
This mutation returns MarkAsReadPayload!
Name | Type | Description |
---|---|---|
success | Boolean! | Whether the mutation was successful |
error | ErrorType | Error information |
messageIds | [ID] |